#ifndef __TASK_KEY_H__
#define __TASK_KEY_H__

#include "stm32f10x.h"
#include "FreeRTOS.h"
#include "task.h"
#include "screen.h"

#define TRUE 	1
#define FALSE 	0

typedef struct{
	uint8_t lock;
	uint8_t silence;
	uint8_t inService;
	uint8_t mainType;
	uint8_t chnInfoType;
	uint8_t sysParamSetInfoType;
	uint8_t conn;
	Screen sc;
}Sys_Sta;

//任务句柄
extern TaskHandle_t keyHandler;
extern Sys_Sta sta;

void task_key(void *arg);

#endif
